<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<table style="background-color: lime;width: 100%">
	<tr>
		<td>
			<a href="?lang=en">English</a>
			<a href="?lang=vn">Vietnamese</a>
		</td>
		<c:if test="${sessionScope.loginForm != null}">
			<td align="right" style="font-size: 20px;" width="500px">
				Welcome <b style="color: red;"><c:out value="${sessionScope.loginForm.user.userName}!" /></b>
				<a href='/check/logout'>Logout</a>
			</td>
		</c:if>
	</tr>
</table>
